Skip to content

Conversation

@oatkiller
Copy link
Contributor

Backports the following commits to 7.x:

In some cases we have selectors returning thunks. The thunks need to be
called inside `useSelector` in order for a rerender to be reliably
triggered.

`useSelector` triggers a re-render if its return value changes. By calling the thunk inside of the selector passed to `useSelector`, we will trigger re-renders when needed.
@oatkiller oatkiller added the backport This PR is a backport of another PR label Aug 27, 2020
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Build metrics

async chunks size

id value diff baseline
securitySolution 9.5MB +462.0B 9.5MB

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@oatkiller oatkiller merged commit ced19a6 into elastic:7.x Aug 28, 2020
@oatkiller oatkiller deleted the backport/7.x/pr-76129 branch March 31, 2022 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants